package com.oocl.euc.service;

import java.util.List;

import org.springframework.data.domain.Page;

import com.oocl.euc.entity.Merchant;

public interface MerchantService {
	public Integer merchantRegist(Merchant m);
	public boolean merchantLogin(String account,String password);
	public Integer deleteMerchant(String mid);
	public Merchant findMesssrchantByMid(String mid);
	public List<Merchant> findAllMerchants();
	public boolean existAccount(String account); 
	public Page<Merchant> findMerchantsWithPage(Integer limit,Integer page,String searchFilters,String sort);
	public Merchant findMerchantByAccount(String account);
}
